﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpIM.Http
{
    public class JavascriptResult : IHttpResult
    {
        public JavascriptResult()
        {
            ContentType = "application/javascript";
        }
        public string ContentType { get; set; }

        public string Javascript { get; set; }

        public ResponseStream ToResponseStream()
        {
            return new ResponseStream(Javascript);
        }
    }
}
